package com.general.template.service;

import com.general.template.dto.QuestionCommonDto;
import com.general.template.dto.QuestionPersonalityDto;
import com.general.template.pojo.PowerQuestionPersonality;
import com.baomidou.mybatisplus.extension.service.IService;
import com.general.template.utils.Pages;
import com.general.template.vo.PersonalityRandomVo;
import com.general.template.vo.QuestionPersonalityVo;

import java.util.List;
import java.util.Map;

/**
 * @Author: 杰哥
 * Date: 2021/2/17 16:10
 * @Description:
**/

public interface PowerQuestionPersonalityService extends IService<PowerQuestionPersonality>{

    int addQuestion(PowerQuestionPersonality questionCommon);

    Map<String,Object> addList(List<QuestionPersonalityVo> vo);

    Pages<QuestionPersonalityDto<String>> pageList(Pages<QuestionPersonalityDto<String>> pages);

    List<QuestionCommonDto> getRandomList(PersonalityRandomVo vo);
}
